package com.ruibang.glass.equipment.controller;


import com.ruibang.glass.equipment.service.WorkshopService;
import com.teaming.cloud.framework2.common.model.ResultBody;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
/**
 * <p>
 *厂房管理
 * </p>
 *
 * @author mameng
 * @since 2024-03-20
 */
@RestController
@RequestMapping("/api/equipment/workshop/")
@Api(value = "厂房管理")
public class WareHouseController {
    @Autowired
    private WorkshopService workshopService;

    @GetMapping("getSelectList")
    @ApiOperation(value = "厂房下拉", response = ResultBody.class)
    public ResultBody getWareList() {
        return ResultBody.success(workshopService.getSelectList());
    }

}
